import { Global, Module } from '@nestjs/common';
import { MyLogger } from './my-logger';
// import { MyLogger } from './my-logger.service';

@Module({
    providers: [
        {
            provide: 'LOGGER_CONFIG',
            useValue: {
                isEnabled: true
            }
        },
        MyLogger
    ],
    exports: [MyLogger],
})
export class LoggerModule { }